<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>config - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.configCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>Config - write</h1>
	
	<form:form commandName="configCriteria" id="configCriteriaForm" name="configCriteriaForm" action="/config.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="cfgKey"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="config" name="configForm" action="/configWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>cfgKey</th>
			<td>
				<form:input path="cfgKey"/>
				<form:errors path="cfgKey" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>cfgValue</th>
			<td>
				<form:input path="cfgValue"/>
				<form:errors path="cfgValue" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>emailValidate</th>
			<td>
				<form:input path="emailValidate"/>
				<form:errors path="emailValidate" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
